#! /bin/bash
sudo apt install -y smartmontools
dt=`date +'%Y%m%d'`
lsblk -o name,type |grep disk|awk '{print $1}'|sudo xargs -i samrtctl --all /dev/{} >>disk-info-$dt.log
